{% extends "base_blank.volt" %}

{% block pageHeader %}
    <style type="text/css">
        .container, .container-fluid {
            min-width: 380px;
        }
    </style>
{% endblock %}

{% block pageFooter%}
    {{ javascript_include("/assets/manage/js/om/questionUserAdd.js", false) }}
{% endblock %}

{% block content %}

    <div class="container-fluid" id="content_box_blank">
        <div class="row">
            <div class="col-xs-12">

                <form id="form_add" class="form-horizontal" role="form" method="post" action="" target="ifr_send_file" enctype="multipart/form-data">
                    <input type="hidden" name="callback" value="parent.setFormResult">
                    <div class="form-group">
                        <label for="op_id" class="col-xs-2 control-label">操作员</label>
                        <div class="col-xs-5">
                            <select class="form-control" id="op_id" name="op_id" data-rule="required; integer[+];">
                                <option value="0">请选择</option>
                                {% for d in opList %}
                                <option value="{{ d.operator_id }}">{{ d.operator_show_name }}</option>
                                {% endfor %}
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="user_id" class="col-xs-2 control-label">用户ID</label>
                        <div class="col-xs-5">
                            <input type="text" class="form-control" id="user_id" name="user_id" data-rule="required; integer[+];">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-xs-12 text-center">
                            <button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o fa-lg"></i> 保 存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
{% endblock %}